package com.iwhalecloud.citybrain.flow.platform.manager.domain.model.task;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author liuhuimin
 */
@Data
public class EntrustTaskVo  {

    /**
     * 委托人 必填
     */
    @NotBlank(message = "委托人不能为空")
    private String client;

    /**
     * 被委托人 必填
     */
//    @NotBlank(message = "被委托人不能为空")
    private String entrustToUserCode;

    /**
     * 流程模板Key
     */
    private String modelKey;

    /**
     * 审批意见
     */
    private String comment;

    public EntrustTaskVo(){

    }

    public EntrustTaskVo(String client, String modelKey){
        this.setClient(client);
        this.setModelKey(modelKey);
    }


}
